package com.beamfield.dao.sys;

import com.beamfield.model.LeaveAnnex;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface LeaveAnnexMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LeaveAnnex record);

    int insertSelective(LeaveAnnex record);

    LeaveAnnex selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LeaveAnnex record);

    int updateByPrimaryKey(LeaveAnnex record);

    LeaveAnnex selectByYearMonthAndWorkdept(@Param("beamId") Long beamId,@Param("date") String date,@Param("workdept") String workdept);
}